package com.bzy.shiro.service;

import java.io.Serializable;
import java.util.Collection;

import org.apache.shiro.session.Session;

public interface ISessionService {

	public void doCreate(Session session, String keyPattern) throws Exception;
	
	public void doUpdate(Session session, String keyPattern) throws Exception;
	
	public void doDelete(Session session, String keyPattern) throws Exception;
	
	public Session doReadSession(Serializable sessionId, String keyPattern) throws Exception;
	
    public Collection<Session> getAllSessions(String keyPattern) throws Exception;
	
}
